/*最上面的样式*/
.ybox{
	width: 100%;
	height: 37px;
	background: rgb(238,238,238);
}
.ybox .ybox_top{
	width: 1280px;
	margin: 0 auto;
}
.ybox_top p{
	float: left;
	padding-top: 10px;
	color: rgb(114,114,114);
	font-size: 0.9em;
	cursor: pointer;
}
.ybox_right{
  float: right;
  width: 570px;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.yphone{
	display: inline-block;
	background: url(../img/yphone.png) no-repeat;
	padding-left: 15px;
	padding-top: -10px;
}
.ybox_right span{
	border-right: 1px solid;
	padding-right: 20px;
	font-size: 0.9em;
}
/*头部跟导航的样式 ,改到最后发现的问题 无奈修改的样式*/
header{
	width: 1280px;
	margin: 0 auto;
	margin-top: 43px;
	margin-bottom: 30px;
}
.ylog{
	width: 375px;
	height: 70px;
	vertical-align: bottom;
}
header input{
	width: 457px;
	height: 37px;
	margin-left: 50px;
	vertical-align: bottom;
	font-size: 1em;
}
.ysea{
	display: inline-block;
	width: 40px;
	height: 44px;
	background: rgb(75,148,61);
	margin-left: -8px;
	text-align: center;
	vertical-align: bottom;
}
.ysea>img{
	margin-top: 25%;
}
.yuser,.yshop{
	display: inline-block;
	width: 120px;
	height: 40px;
	margin-left: 40px;
	background-color: rgb(248,248,246);
	border: 1px solid gainsboro;
	text-align: center;
	vertical-align: middle;
}
.yuser i{
	display: inline-block;
	background: url(../img/gerenzhongxin.png) no-repeat;
	padding-left: 20px;
	margin-top: 10px;
}
.yshop{
	margin-left: 20px;
}
.yshop i{
	display: inline-block;
	background: url(../img/gouwuche.png) no-repeat;
	padding-left: 20px;
	margin-top: 10px;
}
.yhot{
	width: 420px;
	margin: 0 auto;
	font-size: 0.9em;
	padding-bottom: 30px;
}
nav{
	width: 1280px;
	margin: 0 auto;
}
nav .alls{
	float: left;
	width: 170px;
	height: 50px;
	background: url(../img/bottom.png) no-repeat;
	background-position: 140px;
	text-align: center;
	line-height: 50px;
	/*为了避免产生与上面的缝隙*/
	margin-top:-3px;
	cursor: pointer;
}
nav .alls span{
	font-size: 1.3em;
}
.ydetali{
	position: absolute;
	width: 170px;
	height: 500px;
	border: 1px solid gainsboro;
	text-align: center;
	display: none;
	z-index: 5;
	background: white;
}
.alls:hover .ydetali{
	display: block;
}
.ydetali li div:hover .item_list{
	display: block;
}
/*下拉菜单第二部分 移入出现右侧*/
.ydetali .item_list{
	position: absolute;
	left: 168px;
	top: 0;
	width: 450px;
	height: 500px;
	text-align: left;
	background: rgb(255,255,255);
	display: none;
	z-index: 5;
	overflow: hidden;
}
.ydetali .item_list:hover{
	background: rgb(244,255,242);
}
.ydetali .item_list a:hover{
	background:hotpink;
}
.item_list li{
	margin-left: 40px;
	font-size: 1.2em;
	border: none;
	color: green;
}

.ydetali li{
	width: 100%;
	height: 55px;
	overflow: hidden;
	line-height: 55px;
}
.yfruits{
	background: url(../img/y_shuiguo.png) no-repeat;
	background-position: 10px;
}
.yseafood{
	background: url(../img/y_haixianyou.png) no-repeat;
	background-position: 10px;
}
.ymeat{
	background: url(../img/rou.png) no-repeat;
	background-position: 10px;
}
.yegg{
	background: url(../img/y_niunai.png) no-repeat;
	background-position: 10px;
}
.yveg{
	background: url(../img/y_shucai.png) no-repeat;
	background-position: 10px;
}
.ywine{
	background: url(../img/y_lingshi.png) no-repeat;
	background-position: 10px;
}
.yfood{
	background: url(../img/y_liangyou.png) no-repeat;
	background-position: 10px;
}
.ygift{
	background: url(../img/y_lihe.png) no-repeat;
	background-position: 10px;
}
.yfurn{
	background: url(../img/y_jiaju.png) no-repeat;
	background-position: 10px;
}


.ydetali li:hover{
	background: rgb(244,255,242);
}


/*右侧导航部分*/
nav .y_nav a{
	float: left;
	width: 150px;
	height: 50px;
	display: inline-block;
	border-right: 1px solid gainsboro;
	font-size: 1.25em;
	text-align: center;
	line-height: 50px;
}
/*导航部分*/
.y_nav_color{
	background: rgb(240,130,0);
}
.y_nav a:hover{
	background: rgb(240,130,0);
	color: white;
}
/*弹框界面*/
.y_wrap{
	position: fixed;
	left: 0;
	top: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
   display: none;
}

.y_bbox{
	position: absolute;
	top: 300px;
	left: 610px;
	width: 700px;
	height: 360px;
	background: url(../img/y_tan.png) no-repeat;
	z-index: 50;
}
.y_bbox p{
	padding:60px;
	font-size: 1.2em;
}
.y_bbox p span{
	width: 300px;
	height: 36px;
	display: inline-block;
	background: green;
	border-radius: 5px;
	vertical-align: middle;
	color: white;
	line-height: 36px;
	text-align: center;
	cursor: pointer;
}
.y_bbox_kk{
	margin-top: 160px;
	margin-left: 65px;
}
.y_bbox_kk select{
	width: 140px;
	height: 35px;
	font-size: 1.1em;
	margin-left: 30px;
	cursor: pointer;
}
#y_save{
	width: 150px;
	height: 35px;
	border-radius: 5px;
	background: rgb(240,130,0);
	padding: 0;
	text-align: center;
	margin-top: 60px;
	line-height: 35px;
	margin-left: 275px;
	outline: none;
	color: white;
	font-size: 1em;
	cursor: pointer;
}
/*弹出定位成功*/
.y_succ{
	position: absolute;
	top: 210px;
	left: 310px;
	width: 80px;
	height: 30px;
	background: gainsboro;
	border-radius: 3px;
	line-height: 30px;
    text-align: center;
    display: none;
}

/*搜索页为空的样式*/
.search_null{
	width: 1280px;
	margin: 0 auto;
	text-align: center;
	margin-top: 180px;
}
.search_null h2{
	font-size: 2.12em;
	color: rgb(240,130,0);
	margin-top: 50px;
	margin-bottom: 200px;
	font-weight: 200;
}